
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
import javafx.scene.CustomNode;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.ext.swing.SwingLabel;
import javafx.scene.layout.HBox;
import javafx.scene.control.TextBox;

/**
 * @author evert
 */

Stage {
    title: "Search View"
    scene: Scene {
        width: 900
        height: 700
        content: [
            MyCustomNode{}

        ]
    }
}

class MyCustomNode extends CustomNode {
public var number:Integer=8;
	public override function create(): Node {
		return HBox{
			content: [
                        
                                    HBox {
                                    content: [
                                            TextBox {
                                                text: "Titel"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }

                                            TextBox {
                                                text: "Auteur"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                            TextBox {
                                                text: "Datum"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                            TextBox {
                                                text: "Views"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                            TextBox {
                                                text: "Rapport"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                            TextBox {
                                                text: "View Screencast"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                            TextBox {
                                                text: "Edit"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                            TextBox {
                                                text: "Instelling"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                            TextBox {
                                                text: "Delete"
                                                columns: 9
                                                selectOnFocus: true
                                                editable:false
                                            }
                                              
                        ]}
]
		};
	}
}